'use strict';
var path = require("path")
module.exports = appInfo => {
  const config = exports = {};
  config.keys = appInfo.name + '_11211121';
  config.view = {
      defaultViewEngine: 'ejs',
      root:path.join(__dirname,"../app/public/dist/views"),
      ejs: {
          cache: true,
      }
  };
  config.logger = {
      dir: path.join(__dirname,"../logs/Logger"),       //设置默认日志目录
  };
  config.static={
      prefix:"/",
      dir: path.join(__dirname,"../app/public/dist")
  }
  return config;
};
